<template>
  <div class="blind--review">
    <div class="blind--wrap" v-if="pos == '甲状腺'">
      <div class="blind--sub">扫查完整性:</div>
      <div :class="['blind--item',{small:small}]">
        <a-radio-group v-model="thyroid_completeness">
          <a-radio value="满足"> 满足 </a-radio>
          <a-radio value="不满足"> 不满足 </a-radio>
        </a-radio-group>
      </div>
      <div class="blind--tips">
        采集的超声影像视频，通过进行上下扫查发现甲状腺峡部，显示甲状腺峡部横切面，直至峡部消失；转到甲状腺右叶扫查，进行上下横切扫查，显示右叶最大横切面，直至甲状腺上下极边缘消失；转纵切扫查，左右移动扫查，显示右叶最大纵切面，直至甲状腺轮廓消失，并上下移动扫查，显示清晰的纵切上极与下极；转到甲状腺左叶扫查，进行上下横切扫查，显示左叶最大横切面，直至甲状腺上下极边缘消失；转纵切扫查，左右移动扫查，显示左叶最大纵切面，直至甲状腺轮廓消失，并上下移动扫查，显示清晰的纵切上极与下极。
      </div>

      <div class="blind--sub">影像质量:</div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">形态轮廓:</span>
        <a-radio-group v-model="thyroid_shape">
          <a-radio value="优:边界清晰、易辨认" :style="radioStyle"> 优:边界清晰、易辨认 </a-radio>
          <a-radio value="良:边界较清晰、可辨认" :style="radioStyle">
            良:边界较清晰、可辨认
          </a-radio>
          <a-radio value="差:边界不清晰、不可辨认" :style="radioStyle">
            差:边界不清晰、不可辨认
          </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">细腻程度:</span>
        <a-radio-group v-model="thyroid_detailLevel">
          <a-radio value="优:细腻" :style="radioStyle"> 优:细腻 </a-radio>
          <a-radio value="良:较细腻" :style="radioStyle"> 良:较细腻 </a-radio>
          <a-radio value="差:粗糙" :style="radioStyle"> 差:粗糙 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">彩色亮度:</span>
        <a-radio-group v-model="thyroid_brightness">
          <a-radio value="优:明亮" :style="radioStyle"> 优:明亮 </a-radio>
          <a-radio value="良:暗淡" :style="radioStyle"> 良:暗淡 </a-radio>
          <a-radio value="差:无显示" :style="radioStyle"> 差:无显示 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">色彩分布:</span>
        <a-radio-group v-model="thyroid_distribution">
          <a-radio value="优:均匀" :style="radioStyle"> 优:均匀 </a-radio>
          <a-radio value="良:比较均匀" :style="radioStyle"> 良:比较均匀 </a-radio>
          <a-radio value="差:不均匀" :style="radioStyle"> 差:不均匀 </a-radio>
        </a-radio-group>
      </div>
    </div>
    <div class="blind--wrap" v-if="pos == '颈动脉'">
      <div class="blind--sub">扫查完整性:</div>
      <div :class="['blind--item',{small:small}]">
        <a-radio-group v-model="artery_completeness">
          <a-radio value="满足"> 满足 </a-radio>
          <a-radio value="不满足"> 不满足 </a-radio>
        </a-radio-group>
      </div>
      <div class="blind--tips">
        （左右侧相同）采集的超声影像视频，沿颈动脉血管向下横切扫查，直至锁骨位置，然后向上横切扫查显示颈总动脉全段，直至显示颅外段颈内颈外横切血管；转成纵切扫查，并以窦部为中心进行多角度扫查，显示颈内颈外纵切血管，然后向下纵切扫查，直至颈总起始部，显示颈总动脉纵切全段
      </div>
      <div class="blind--sub">影像质量:</div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">左侧内膜:</span>
        <a-radio-group v-model="artery_intima">
          <a-radio value="优:清晰、易辨认" :style="radioStyle">优:清晰、易辨认 </a-radio>
          <a-radio value="良:较清晰、可辨认" :style="radioStyle"> 良:较清晰、可辨认 </a-radio>
          <a-radio value="差:不清晰、不可辨认" :style="radioStyle"> 差:不清晰、不可辨认 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">左侧血流充盈程度:</span>
        <a-radio-group v-model="artery_filling">
          <a-radio value="优:完全充盈" :style="radioStyle"> 优:完全充盈 </a-radio>
          <a-radio value="良:部分充盈" :style="radioStyle"> 良:部分充盈 </a-radio>
          <a-radio value="差:不充盈" :style="radioStyle"> 差:不充盈 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">左侧彩色亮度:</span>
        <a-radio-group v-model="artery_brightness">
          <a-radio value="优:明亮" :style="radioStyle"> 优:明亮 </a-radio>
          <a-radio value="良:暗淡" :style="radioStyle"> 良:暗淡 </a-radio>
          <a-radio value="差:无显示" :style="radioStyle"> 差:无显示 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">左侧色彩分布:</span>
        <a-radio-group v-model="artery_distribution">
          <a-radio value="优:均匀" :style="radioStyle"> 优:均匀 </a-radio>
          <a-radio value="良:比较均匀" :style="radioStyle"> 良:比较均匀 </a-radio>
          <a-radio value="差:不均匀" :style="radioStyle"> 差:不均匀 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">左侧频谱-边缘:</span>
        <a-radio-group v-model="artery_edge">
          <a-radio value="优:边界清晰、易辨认" :style="radioStyle"> 优:边界清晰、易辨认 </a-radio>
          <a-radio value="良:边界较清晰、可辨认" :style="radioStyle">
            良:边界较清晰、可辨认
          </a-radio>
          <a-radio value="差:边界不清晰、不可辨认" :style="radioStyle">
            差:边界不清晰、不可辨认
          </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">左侧频谱-清晰度:</span>
        <a-radio-group v-model="artery_definition">
          <a-radio value="优:清晰、易辨认" :style="radioStyle"> 优:清晰、易辨认 </a-radio>
          <a-radio value="良:较清晰、可辨认" :style="radioStyle"> 良:较清晰、可辨认 </a-radio>
          <a-radio value="差:不清晰、不可辨认" :style="radioStyle"> 差:不清晰、不可辨认 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">左侧频谱-形态:</span>
        <a-radio-group v-model="artery_shape">
          <a-radio value="优:至少连续3个及以上完整波形清晰、易辨认、可测量" :style="radioStyle">
            优:至少连续3个及以上完整波形清晰、易辨认、可测量
          </a-radio>
          <a-radio value="良:1个以上3个以下完整波形较清晰、可辨认、可测量" :style="radioStyle">
            良:1个以上3个以下完整波形较清晰、可辨认、可测量
          </a-radio>
          <a-radio value="差:波形不清晰、不可辨认" :style="radioStyle">
            差:波形不清晰、不可辨认
          </a-radio>
        </a-radio-group>
      </div>

      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">右侧内膜:</span>
        <a-radio-group v-model="artery_intima_right">
          <a-radio value="优:清晰、易辨认" :style="radioStyle">优:清晰、易辨认 </a-radio>
          <a-radio value="良:较清晰、可辨认" :style="radioStyle"> 良:较清晰、可辨认 </a-radio>
          <a-radio value="差:不清晰、不可辨认" :style="radioStyle"> 差:不清晰、不可辨认 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">右侧血流充盈程度:</span>
        <a-radio-group v-model="artery_filling_right">
          <a-radio value="优:完全充盈" :style="radioStyle"> 优:完全充盈 </a-radio>
          <a-radio value="良:部分充盈" :style="radioStyle"> 良:部分充盈 </a-radio>
          <a-radio value="差:不充盈" :style="radioStyle"> 差:不充盈 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">右侧彩色亮度:</span>
        <a-radio-group v-model="artery_brightness_right">
          <a-radio value="优:明亮" :style="radioStyle"> 优:明亮 </a-radio>
          <a-radio value="良:暗淡" :style="radioStyle"> 良:暗淡 </a-radio>
          <a-radio value="差:无显示" :style="radioStyle"> 差:无显示 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">右侧色彩分布:</span>
        <a-radio-group v-model="artery_distribution_right">
          <a-radio value="优:均匀" :style="radioStyle"> 优:均匀 </a-radio>
          <a-radio value="良:比较均匀" :style="radioStyle"> 良:比较均匀 </a-radio>
          <a-radio value="差:不均匀" :style="radioStyle"> 差:不均匀 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">右侧频谱-边缘:</span>
        <a-radio-group v-model="artery_edge_right">
          <a-radio value="优:边界清晰、易辨认" :style="radioStyle"> 优:边界清晰、易辨认 </a-radio>
          <a-radio value="良:边界较清晰、可辨认" :style="radioStyle">
            良:边界较清晰、可辨认
          </a-radio>
          <a-radio value="差:边界不清晰、不可辨认" :style="radioStyle">
            差:边界不清晰、不可辨认
          </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">右侧频谱-清晰度:</span>
        <a-radio-group v-model="artery_definition_right">
          <a-radio value="优:清晰、易辨认" :style="radioStyle"> 优:清晰、易辨认 </a-radio>
          <a-radio value="良:较清晰、可辨认" :style="radioStyle"> 良:较清晰、可辨认 </a-radio>
          <a-radio value="差:不清晰、不可辨认" :style="radioStyle"> 差:不清晰、不可辨认 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name mid1">右侧频谱-形态:</span>
        <a-radio-group v-model="artery_shape_right">
          <a-radio value="优:至少连续3个及以上完整波形清晰、易辨认、可测量" :style="radioStyle">
            优:至少连续3个及以上完整波形清晰、易辨认、可测量
          </a-radio>
          <a-radio value="良:1个以上3个以下完整波形较清晰、可辨认、可测量" :style="radioStyle">
            良:1个以上3个以下完整波形较清晰、可辨认、可测量
          </a-radio>
          <a-radio value="差:波形不清晰、不可辨认">
            差:波形不清晰、不可辨认
          </a-radio>
        </a-radio-group>
      </div>
    </div>
    <div class="blind--wrap" v-if="pos == '腹部'">
      <template v-if="type == 'liver'">
        <div class="blind--sub">扫查完整性--肝脏:</div>
        <div :class="['blind--item',{small:small}]">
          <a-radio-group v-model="liver_completeness">
            <a-radio value="满足"> 满足 </a-radio>
            <a-radio value="不满足"> 不满足 </a-radio>
          </a-radio-group>
        </div>
        <div class="blind--tips">
          采集的超声影像视频，在剑突附近开始，左右探查显示清晰的肝左叶和腹主动脉，剑突下矢状切显示左叶经腹主动脉长轴切面，向左侧探查直至肝左叶消失，肝左叶斜切显示肝左叶内门静脉左支“工”字结构；然后沿肋骨下缘进行斜切扫查，肋下斜切显示第一肝门和第二肝门，继续扫查直至肝肾切面处；在肝肾切面处进行多角度探查，显示右肋下右肝及右肾纵切面覆盖肝右叶边缘区域；在肋间逐一扫查各个肋间隙，并上下移动和左右摆动，显示右肋间经第一肝门斜切面，覆盖肋间肝脏区域。
        </div>
        <div class="blind--sub">影像质量--肝脏:</div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">形态轮廓:</span>
          <a-radio-group v-model="liver_shape">
            <a-radio value="优:边界清晰、易辨认" :style="radioStyle"> 优:边界清晰、易辨认 </a-radio>
            <a-radio value="良:边界较清晰、可辨认" :style="radioStyle">
              良:边界较清晰、可辨认
            </a-radio>
            <a-radio value="差:边界不清晰、不可辨认" :style="radioStyle">
              差:边界不清晰、不可辨认
            </a-radio>
          </a-radio-group>
        </div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">细腻程度:</span>
          <a-radio-group v-model="liver_detailLevel">
            <a-radio value="优:细腻" :style="radioStyle"> 优:细腻 </a-radio>
            <a-radio value="良:较细腻" :style="radioStyle"> 良:较细腻 </a-radio>
            <a-radio value="差:粗糙" :style="radioStyle"> 差:粗糙 </a-radio>
          </a-radio-group>
        </div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">管道结构:</span>
          <a-radio-group v-model="liver_structure">
            <a-radio value="优:可显示部分清晰显示四级分支" :style="radioStyle">
              优:可显示部分清晰显示四级分支
            </a-radio>
            <a-radio value="良:可显示部分清晰显示三级分支" :style="radioStyle">
              良:可显示部分清晰显示三级分支
            </a-radio>
            <a-radio value="差:可显示部分管道结构模糊" :style="radioStyle">
              差:可显示部分管道结构模糊
            </a-radio>
          </a-radio-group>
        </div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">血管充盈度:</span>
          <a-radio-group v-model="liver_filling">
            <a-radio value="优:完全充盈" :style="radioStyle"> 优:完全充盈 </a-radio>
            <a-radio value="良:部分充盈" :style="radioStyle"> 良:部分充盈 </a-radio>
            <a-radio value="差:不充盈" :style="radioStyle"> 差:不充盈 </a-radio>
          </a-radio-group>
        </div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">彩色亮度:</span>
          <a-radio-group v-model="liver_brightness">
            <a-radio value="优:明亮" :style="radioStyle"> 优:明亮 </a-radio>
            <a-radio value="良:暗淡" :style="radioStyle"> 良:暗淡 </a-radio>
            <a-radio value="差:无显示" :style="radioStyle"> 差:无显示 </a-radio>
          </a-radio-group>
        </div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">色彩分布:</span>
          <a-radio-group v-model="liver_distribution">
            <a-radio value="优:均匀" :style="radioStyle"> 优:均匀 </a-radio>
            <a-radio value="良:比较均匀" :style="radioStyle"> 良:比较均匀 </a-radio>
            <a-radio value="差:不均匀" :style="radioStyle"> 差:不均匀 </a-radio>
          </a-radio-group>
        </div>
        <div class="blind--sub">扫查完整性--胆囊:</div>
        <div :class="['blind--item',{small:small}]">
          <a-radio-group v-model="gallbladder_completeness">
            <a-radio value="满足"> 满足 </a-radio>
            <a-radio value="不满足"> 不满足 </a-radio>
          </a-radio-group>
        </div>
        <div class="blind--tips">
          采集的超声影像视频，在右肋下及右肋间，通过斜切及纵切发现胆囊，并以胆囊为中心进行多角度探查，寻找最大呈现器官的切面，显示最大纵切面，显示清晰的囊状结构。
        </div>
        <div class="blind--sub">影像质量-胆囊:</div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">胆囊壁:</span>
          <a-radio-group v-model="gallbladder_wall">
            <a-radio value="优:内膜清晰、易辨认" :style="radioStyle"> 优:内膜清晰、易辨认 </a-radio>
            <a-radio value="良:内膜较清晰、可辨认" :style="radioStyle">
              良:内膜较清晰、可辨认
            </a-radio>
            <a-radio value="差:内膜不清晰、不可辨认" :style="radioStyle">
              差:内膜不清晰、不可辨认
            </a-radio>
          </a-radio-group>
        </div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">胆囊腔:</span>
          <a-radio-group v-model="gallbladder_cavity">
            <a-radio value="优:图像清晰" :style="radioStyle"> 优:图像清晰 </a-radio>
            <a-radio value="良:图像较清晰" :style="radioStyle"> 良:图像较清晰 </a-radio>
            <a-radio value="差:图像不清晰" :style="radioStyle"> 差:图像不清晰 </a-radio>
          </a-radio-group>
        </div>
        <div class="blind--sub">扫查完整性--胰腺:</div>
        <div :class="['blind--item',{small:small}]">
          <a-radio-group v-model="pancreas_completeness">
            <a-radio value="完整"> 满足 </a-radio>
            <a-radio value="不满足"> 不满足 </a-radio>
          </a-radio-group>
        </div>
        <div class="blind--tips">
          采集的超声影像视频，在上腹剑突下开始，横切向下扫查发现胰腺，并以胰腺为中心进行多角度探查，寻找最大呈现器官的切面，显示胰腺的长轴切面，胰体可显示。
        </div>
        <div class="blind--sub">影像质量--胰腺:</div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">形态轮廓:</span>
          <a-radio-group v-model="pancreas_shape">
            <a-radio value="优:可显示部分边界清晰、易辨认" :style="radioStyle">
              优:可显示部分边界清晰、易辨认
            </a-radio>
            <a-radio value="良:可显示部分边界较清晰、可辨认" :style="radioStyle">
              良:可显示部分边界较清晰、可辨认
            </a-radio>
            <a-radio value="差:可显示部分边界不清晰、不可辨认" :style="radioStyle">
              差:可显示部分边界不清晰、不可辨认
            </a-radio>
          </a-radio-group>
        </div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">细腻程度:</span>
          <a-radio-group v-model="pancreas_detailLevel">
            <a-radio value="优:细腻" :style="radioStyle"> 优:细腻 </a-radio>
            <a-radio value="良:较细腻" :style="radioStyle"> 良:较细腻 </a-radio>
            <a-radio value="差:粗糙" :style="radioStyle"> 差:粗糙 </a-radio>
          </a-radio-group>
        </div>
      </template>
      <template v-if="type == 'spleen'">
        <div class="blind--sub">扫查完整性--脾脏:</div>
        <div :class="['blind--item',{small:small}]">
          <a-radio-group v-model="spleen_completeness">
            <a-radio value="满足"> 满足 </a-radio>
            <a-radio value="不满足"> 不满足 </a-radio>
          </a-radio-group>
        </div>
        <div class="blind--tips">
          采集的超声影像视频，分别在腋前线、腋中线或腋后线上下扫查发现脾脏，并以脾脏为中心进行多角度探查，寻找包含上下极、脾门特征的最优切面，显示脾脏纵切面以及脾门血管，并进行大范围摆动，直至脾脏轮廓消失。
        </div>
        <div class="blind--sub">影像质量--脾脏:</div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">形态轮廓:</span>
          <a-radio-group v-model="spleen_shape">
            <a-radio value="优:可显示部分边界清晰、易辨认" :style="radioStyle">
              优:可显示部分边界清晰、易辨认
            </a-radio>
            <a-radio value="良:可显示部分边界较清晰、可辨认" :style="radioStyle">
              良:可显示部分边界较清晰、可辨认
            </a-radio>
            <a-radio value="差:可显示部分边界不清晰、不可辨认" :style="radioStyle">
              差:可显示部分边界不清晰、不可辨认
            </a-radio>
          </a-radio-group>
        </div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">细腻程度:</span>
          <a-radio-group v-model="spleen_detailLevel">
            <a-radio value="优:细腻" :style="radioStyle"> 优:细腻 </a-radio>
            <a-radio value="良:较细腻" :style="radioStyle"> 良:较细腻 </a-radio>
            <a-radio value="差:粗糙" :style="radioStyle"> 差:粗糙 </a-radio>
          </a-radio-group>
        </div>
        <div :class="['blind--item',{small:small}]">
          <span class="blind--name">脾门血管:</span>
          <a-radio-group v-model="spleen_blood">
            <a-radio value="优:清晰显示" :style="radioStyle"> 优:清晰显示 </a-radio>
            <a-radio value="良:可显示" :style="radioStyle"> 良:可显示 </a-radio>
            <a-radio value="差:不清晰" :style="radioStyle"> 差:不清晰 </a-radio>
          </a-radio-group>
        </div>
      </template>
    </div>
    <div class="blind--wrap" v-if="pos == '肾脏' || pos == '泌尿'" >
      <div class="blind--sub">扫查完整性:</div>
      <div :class="['blind--item',{small:small}]">
        <a-radio-group v-model="kidney_completeness">
          <a-radio value="满足"> 满足 </a-radio>
          <a-radio value="不满足"> 不满足 </a-radio>
        </a-radio-group>
      </div>
      <div class="blind--tips">
        采集的超声影像视频，上下横切扫查发现肾脏，并以肾脏为中心进行多角度扫查，寻找肾脏最大纵切面，显示肾脏经肾门的最大纵切面，并进行大范围摆动，直至肾脏纵切轮廓消失；转横切显示肾脏经肾门的最大横切面，并上下移动，直至肾脏横切轮廓消失。
      </div>
      <div class="blind--sub">影像质量:</div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">左肾形态轮廓:</span>
        <a-radio-group v-model="kidney_shape">
          <a-radio value="优:肾包膜边界清晰、易辨认" :style="radioStyle">
            优:肾包膜边界清晰、易辨认
          </a-radio>
          <a-radio value="良:肾包膜边界较清晰、可辨认" :style="radioStyle">
            良:肾包膜边界较清晰、可辨认
          </a-radio>
          <a-radio value="差:肾包膜边界不清晰、不可辨认" :style="radioStyle">
            差:肾包膜边界不清晰、不可辨认
          </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">左肾皮质、髓质显示:</span>
        <a-radio-group v-model="kidney_cortex">
          <a-radio value="优:皮质、髓质显示清晰" :style="radioStyle">
            优:皮质、髓质显示清晰
          </a-radio>
          <a-radio value="良:髓质显示模糊" :style="radioStyle"> 良:髓质显示模糊 </a-radio>
          <a-radio value="差:皮质、髓质分辨不清" :style="radioStyle">
            差:皮质、髓质分辨不清
          </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">左肾彩色亮度:</span>
        <a-radio-group v-model="kidney_brightness">
          <a-radio value="优:明亮" :style="radioStyle"> 优:明亮 </a-radio>
          <a-radio value="良:暗淡" :style="radioStyle"> 良:暗淡 </a-radio>
          <a-radio value="差:无显示" :style="radioStyle"> 差:无显示 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">左肾色彩分布:</span>
        <a-radio-group v-model="kidney_distribution">
          <a-radio value="优:均匀" :style="radioStyle"> 优:均匀 </a-radio>
          <a-radio value="良:比较均匀" :style="radioStyle"> 良:比较均匀 </a-radio>
          <a-radio value="差:不均匀" :style="radioStyle"> 差:不均匀 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">右肾形态轮廓:</span>
        <a-radio-group v-model="kidney_shape_right">
          <a-radio value="优:肾包膜边界清晰、易辨认" :style="radioStyle">
            优:肾包膜边界清晰、易辨认
          </a-radio>
          <a-radio value="良:肾包膜边界较清晰、可辨认" :style="radioStyle">
            良:肾包膜边界较清晰、可辨认
          </a-radio>
          <a-radio value="差:肾包膜边界不清晰、不可辨认" :style="radioStyle">
            差:肾包膜边界不清晰、不可辨认
          </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">右肾皮质、髓质显示:</span>
        <a-radio-group v-model="kidney_cortex_right">
          <a-radio value="优:皮质、髓质显示清晰" :style="radioStyle">
            优:皮质、髓质显示清晰
          </a-radio>
          <a-radio value="良:髓质显示模糊"> 良:髓质显示模糊 </a-radio>
          <a-radio value="差:皮质、髓质分辨不清" :style="radioStyle">
            差:皮质、髓质分辨不清
          </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">右肾彩色亮度:</span>
        <a-radio-group v-model="kidney_brightness_right">
          <a-radio value="优:明亮" :style="radioStyle"> 优:明亮 </a-radio>
          <a-radio value="良:暗淡" :style="radioStyle"> 良:暗淡 </a-radio>
          <a-radio value="差:无显示" :style="radioStyle"> 差:无显示 </a-radio>
        </a-radio-group>
      </div>
      <div :class="['blind--item',{small:small}]">
        <span class="blind--name">右肾色彩分布:</span>
        <a-radio-group v-model="kidney_distribution_right">
          <a-radio value="优:均匀" :style="radioStyle"> 优:均匀 </a-radio>
          <a-radio value="良:比较均匀" :style="radioStyle"> 良:比较均匀 </a-radio>
          <a-radio value="差:不均匀" :style="radioStyle"> 差:不均匀 </a-radio>
        </a-radio-group>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Qualification",
  props: ["pos","type","small"],
  data() {
    return {
      thyroid_completeness: "",

      thyroid_shape: "",
      thyroid_detailLevel: "",
      thyroid_brightness: "",
      thyroid_distribution: "",

      artery_completeness: "",
      artery_intima: "",
      artery_filling: "",
      artery_brightness: "",
      artery_distribution: "",
      artery_edge: "",
      artery_definition: "",
      artery_shape: "",
      artery_intima_right: "",
      artery_filling_right: "",
      artery_brightness_right: "",
      artery_distribution_right: "",
      artery_edge_right: "",
      artery_definition_right: "",
      artery_shape_right: "",

      liver_completeness: "",
      liver_shape: "",
      liver_detailLevel: "",
      liver_structure: "",
      liver_filling: "",
      liver_brightness: "",
      liver_distribution: "",

      gallbladder_completeness: "",
      gallbladder_wall: "",
      gallbladder_cavity: "",

      pancreas_completeness: "",
      pancreas_shape: "",
      pancreas_detailLevel: "",

      spleen_completeness: "",
      spleen_shape: "",
      spleen_detailLevel: "",
      spleen_blood: "",

      kidney_completeness: "",
      kidney_shape: "",
      kidney_cortex: "",
      kidney_brightness: "",
      kidney_distribution: "",
      kidney_shape_right: "",
      kidney_cortex_right: "",
      kidney_brightness_right: "",
      kidney_distribution_right: "",
    };
  },
  computed:{
    radioStyle(){
      if(this.small){
        return {display: 'block'}
      }else{
        return {}
      }
    }
  },
  created() {
    this.$EventBus.$on("qua_initOldResult", this.initOldResult);
  },
  methods: {
    initOldResult(val) {
      console.log("initOldResult val",val)
      try {
        if (this.pos == "甲状腺") {
          const map = {
            扫查完整性: "thyroid_completeness",
            形态轮廓: "thyroid_shape",
            细腻程度: "thyroid_detailLevel",
            彩色亮度: "thyroid_brightness",
            色彩分布: "thyroid_distribution",
          };
          for (const prop in val) {
            if (map[prop]) {
              this[map[prop]] = val[prop];
            }
          }
        } else if (this.pos == "颈动脉") {
          const map = {
            扫查完整性: "artery_completeness",
            左侧内膜: "artery_intima",
            左侧血流充盈程度: "artery_filling",
            左侧彩色亮度: "artery_brightness",
            左侧色彩分布: "artery_distribution",
            "左侧频谱-边缘": "artery_edge",
            "左侧频谱-清晰度": "artery_definition",
            "左侧频谱-形态": "artery_shape",
            右侧内膜: "artery_intima_right",
            右侧血流充盈程度: "artery_filling_right",
            右侧彩色亮度: "artery_brightness_right",
            右侧色彩分布: "artery_distribution_right",
            "右侧频谱-边缘": "artery_edge_right",
            "右侧频谱-清晰度": "artery_definition_right",
            "右侧频谱-形态": "artery_shape_right",
          };
          for (const prop in val) {
            if (map[prop]) {
              this[map[prop]] = val[prop];
            }
          }
        } else if (this.pos == "腹部") {
          for (const prop in val) {
            if (prop == "肝脏") {
              const targetVal = val[prop];
              const map = {
                扫查完整性: "liver_completeness",
                形态轮廓: "liver_shape",
                管道结构: "liver_structure",
                细腻程度: "liver_detailLevel",
                彩色亮度: "liver_brightness",
                色彩分布: "liver_distribution",
                血管充盈度: "liver_filling",
              };
              for (const p in targetVal) {
                if (map[p]) {
                  this[map[p]] = targetVal[p];
                }
              }
            } else if (prop == "胆囊") {
              const targetVal = val[prop];
              const map = {
                扫查完整性: "gallbladder_completeness",
                胆囊壁: "gallbladder_wall",
                胆囊腔: "gallbladder_cavity",
              };
              for (const p in targetVal) {
                if (map[p]) {
                  this[map[p]] = targetVal[p];
                }
              }
            } else if (prop == "胰腺") {
              const targetVal = val[prop];
              const map = {
                扫查完整性: "pancreas_completeness",
                形态轮廓: "pancreas_shape",
                细腻程度: "pancreas_detailLevel",
              };
              for (const p in targetVal) {
                if (map[p]) {
                  this[map[p]] = targetVal[p];
                }
              }
            } else if (prop == "脾脏") {
              const targetVal = val[prop];
              const map = {
                扫查完整性: "spleen_completeness",
                形态轮廓: "spleen_shape",
                细腻程度: "spleen_detailLevel",
                脾门血管: "spleen_blood",
              };
              for (const p in targetVal) {
                if (map[p]) {
                  this[map[p]] = targetVal[p];
                }
              }
            }
          }
        } else if (this.pos == "肾脏" || this.pos == "泌尿") {
          const map = {
            扫查完整性: "kidney_completeness",
            左肾形态轮廓: "kidney_shape",
            "左肾皮质、髓质显示": "kidney_cortex",
            左肾彩色亮度: "kidney_brightness",
            左肾色彩分布: "kidney_distribution",
            右肾形态轮廓: "kidney_shape_right",
            "右肾皮质、髓质显示": "kidney_cortex_right",
            右肾彩色亮度: "kidney_brightness_right",
            右肾色彩分布: "kidney_distribution_right",
          };
          for (var prop in val) {
            if (map[prop]) {
              this[map[prop]] = val[prop];
            }
          }
        }
      } catch (error) {
        console.log("扫查影像合格率 initOldResult error: ", error);
      }
    },
    getResult() {
      try {
        if (this.pos == "甲状腺") {
          if (!this.thyroid_completeness) {
            this.$message.warning("请对扫查完整性进行评价!");
            return;
          }
          if (!this.thyroid_shape
              || !this.thyroid_detailLevel
              || !this.thyroid_brightness
              || !this.thyroid_distribution
          ) {
            this.$message.warning("请对影像质量进行完整评价!");
            return;
          }
          return {
            甲状腺: {
              扫查完整性: this.thyroid_completeness,
              形态轮廓: this.thyroid_shape,
              细腻程度: this.thyroid_detailLevel,
              彩色亮度: this.thyroid_brightness,
              色彩分布: this.thyroid_distribution,
            },
          };
        } else if (this.pos == "颈动脉") {
          if (!this.artery_completeness) {
            this.$message.warning("请对扫查完整性进行评价!");
            return;
          }
          if (!this.artery_intima
              ||!this.artery_filling
              ||!this.artery_brightness
              ||!this.artery_distribution
              ||!this.artery_edge
              ||!this.artery_definition
              ||!this.artery_shape
              ||!this.artery_intima_right
              ||!this.artery_filling_right
              ||!this.artery_brightness_right
              ||!this.artery_distribution_right
              ||!this.artery_edge_right
              ||!this.artery_definition_right
              ||!this.artery_shape_right
          ) {
            this.$message.warning("请对影像质量进行完整评价!");
            return;
          }
          return {
            颈动脉: {
              扫查完整性: this.artery_completeness,
              左侧内膜: this.artery_intima,
              左侧血流充盈程度: this.artery_filling,
              左侧彩色亮度: this.artery_brightness,
              左侧色彩分布: this.artery_distribution,
              "左侧频谱-边缘": this.artery_edge,
              "左侧频谱-清晰度": this.artery_definition,
              "左侧频谱-形态": this.artery_shape,
              右侧内膜: this.artery_intima_right,
              右侧血流充盈程度: this.artery_filling_right,
              右侧彩色亮度: this.artery_brightness_right,
              右侧色彩分布: this.artery_distribution_right,
              "右侧频谱-边缘": this.artery_edge_right,
              "右侧频谱-清晰度": this.artery_definition_right,
              "右侧频谱-形态": this.artery_shape_right,
            },
          };
        } else if (this.pos == "腹部") {
          if(this.type == "liver"){
            if (!this.liver_completeness
                ||!this.gallbladder_completeness
                ||!this.pancreas_completeness
            ) {
              this.$message.warning("请对扫查完整性进行评价!");
              return;
            }
            if (!this.liver_shape
                ||!this.liver_structure
                ||!this.liver_detailLevel
                ||!this.liver_brightness
                ||!this.liver_distribution
                ||!this.liver_filling
                ||!this.gallbladder_wall
                ||!this.gallbladder_cavity
                ||!this.pancreas_shape
                ||!this.pancreas_detailLevel
            ) {
              this.$message.warning("请对影像质量进行完整评价!");
              return;
            }
          }else{
            if (!this.spleen_completeness) {
              this.$message.warning("请对影像质量进行完整评价!");
              return;
            }
            if (!this.spleen_shape
                ||!this.spleen_detailLevel
                ||!this.spleen_blood
            ) {
              this.$message.warning("请对影像质量进行完整评价!");
              return;
            }
          }
          return {
            肝脏: {
              扫查完整性: this.liver_completeness,
              形态轮廓: this.liver_shape,
              管道结构: this.liver_structure,
              细腻程度: this.liver_detailLevel,
              彩色亮度: this.liver_brightness,
              色彩分布: this.liver_distribution,
              血管充盈度: this.liver_filling,
            },
            胆囊: {
              扫查完整性: this.gallbladder_completeness,
              胆囊壁: this.gallbladder_wall,
              胆囊腔: this.gallbladder_cavity,
            },
            胰腺: {
              扫查完整性: this.pancreas_completeness,
              形态轮廓: this.pancreas_shape,
              细腻程度: this.pancreas_detailLevel,
            },
            脾脏: {
              扫查完整性: this.spleen_completeness,
              形态轮廓: this.spleen_shape,
              细腻程度: this.spleen_detailLevel,
              脾门血管: this.spleen_blood,
            },
          };
        } else if (this.pos == "肾脏" || this.pos == "泌尿") {
          if (!this.kidney_completeness) {
            this.$message.warning("请对扫查完整性进行评价!");
            return;
          }
          if (!this.kidney_shape
              ||!this.kidney_cortex
              ||!this.kidney_brightness
              ||!this.kidney_distribution
              ||!this.kidney_shape_right
              ||!this.kidney_cortex_right
              ||!this.kidney_brightness_right
              ||!this.kidney_distribution_right
          ) {
            this.$message.warning("请对影像质量进行完整评价!");
            return;
          }
          return {
            泌尿: {
              扫查完整性: this.kidney_completeness,
              左肾形态轮廓: this.kidney_shape,
              "左肾皮质、髓质显示": this.kidney_cortex,
              左肾彩色亮度: this.kidney_brightness,
              左肾色彩分布: this.kidney_distribution,
              右肾形态轮廓: this.kidney_shape_right,
              "右肾皮质、髓质显示": this.kidney_cortex_right,
              右肾彩色亮度: this.kidney_brightness_right,
              右肾色彩分布: this.kidney_distribution_right,
            },
          };
        }
      } catch (error) {
        console.log("扫查影像合格率 getResult error: ", error);
      }
    },
  },
  beforeDestroy() {
    this.$EventBus.$off("qua_initOldResult");
  }
};
</script>

<style scoped lang="less">
@import "~@/assets/css/blindReview.less";
</style>
